﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DeptYearScore.aspx.cs" Inherits="Appraisal.Web.Appraisal.DeptYearScore" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../CSS/Default/Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">

					<TABLE style="Z-INDEX: 0" id="Table1" class="ms-toolbar" cellSpacing="0" cellPadding="0">
						<TR>
							<TD width="2"><IMG alt="" src="../../Images/Default/blank.gif" width="2" height="1"></TD>
							<TD class="ms-toolbar">
								<TABLE id="Table2" border="0" cellSpacing="0" cellPadding="1">
									<TR>
										<TD class="ms-toolbar" noWrap>
											<asp:imagebutton id="btnImgNew" runat="server" ImageUrl="../Images/Default/newitem.gif"></asp:imagebutton></TD>
										<TD noWrap>
											<asp:LinkButton ID="lbtnClose" runat="server" CssClass="ms-toolbar" 
                                                CausesValidation="False">返回</asp:LinkButton>
                                        </TD>
									</TR>
								</TABLE>
							</TD>
							<TD width="100%"><IMG alt="" src="../../Images/Default/blank.gif" width="1" height="22"></TD>
						</TR>
					</TABLE>
 
					<TABLE id="Table3" border="0" 
        cellSpacing="0" cellPadding="0" width="100%">
						<TR>
							<TD>
								<TABLE style="WIDTH: 100%; HEIGHT: 32px" id="Table4" class="ms-summarycustombody" border="0"
									cellSpacing="2" cellPadding="2">
									<TR>
										<TD class="ms-vb"><NOBR>考评主题</NOBR>
                                        </TD>
										<TD class="ms-vb">
                                            <asp:DropDownList ID="dplSubject" runat="server" CssClass="ms-input">
                                            </asp:DropDownList>
                                        </TD>
										<TD class="ms-vb">考评表</TD>
										<TD class="ms-vb">
                                            <asp:DropDownList ID="dplKp" runat="server" CssClass="ms-input">
                                            </asp:DropDownList>
                                        </TD>
									</TR>
									<TR>
										<TD class="ms-vb">部门名称</TD>
										<TD class="ms-vb">
                                            <asp:DropDownList ID="dplDept" runat="server" CssClass="ms-input">
                                            </asp:DropDownList>
                                        </TD>
										<TD class="ms-vb">成绩</TD>
										<TD class="ms-vb">
                                            <asp:TextBox ID="txtScore" runat="server" Width="113px"></asp:TextBox>
			<FONT face="宋体">
										<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" 
                                                ErrorMessage="*" ControlToValidate="txtScore"></asp:RequiredFieldValidator>
										<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" 
                                            ErrorMessage="*" ValidationExpression="^\d+(\.\d+)?$"
											ControlToValidate="txtScore"></asp:RegularExpressionValidator>
			</FONT>
		                                </TD>
									</TR>
									<TR>
										<TD height="5" colSpan="4">
											<asp:linkbutton 
                                                id="lbtnSearch" runat="server" CssClass="ms-input" 
                                                onclick="lbtnSearch_Click">查看部门成绩</asp:linkbutton>&nbsp;
											<asp:linkbutton 
                                                id="lbtnSave" runat="server" CssClass="ms-input">添加或修改</asp:linkbutton></TD>
									</TR>
								</TABLE>
							</TD>
						</TR>
						<TR>
							<TD class="ms-partline"><IMG alt="" src="../../Images/Default/blank.gif" width="1" height="1"></TD>
						</TR>
						<TR>
							<TD>
							<asp:datagrid id="dg" runat="server" Width="100%" AutoGenerateColumns="False" BorderWidth="0px"
								GridLines="None" CellSpacing="3" AllowSorting="True" FooterStyle-CssClass="datagrid_row" 
                                    ondeletecommand="dg_DeleteCommand">
								<ItemStyle CssClass="datagrid_row"></ItemStyle>
								<HeaderStyle CssClass="datagrid_header"></HeaderStyle>
								<FooterStyle CssClass="datagrid_row"></FooterStyle>
								<Columns>
									<asp:TemplateColumn HeaderText="序号">
										<ItemStyle CssClass="datagrid_item"></ItemStyle>
										<HeaderTemplate>
										</HeaderTemplate>
										<ItemTemplate>
											<%# Container.ItemIndex+1%>
										</ItemTemplate>
									</asp:TemplateColumn>
									<asp:BoundColumn DataField="SubjectID" HeaderText="考评主题ID"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="KpID" HeaderText="考评表ID"></asp:BoundColumn>
									<asp:BoundColumn DataField="DepartMent_id" HeaderText="部门ID"></asp:BoundColumn>
									<asp:BoundColumn DataField="SubjectName" HeaderText="考评主题名称"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="KpName" HeaderText="考评表名称"></asp:BoundColumn>
									<asp:BoundColumn DataField="DepartMent_name" HeaderText="部门名称">
										<ItemStyle CssClass="datagrid_item"></ItemStyle>
									</asp:BoundColumn>
									<asp:BoundColumn DataField="Score" HeaderText="绩效成绩"></asp:BoundColumn>
                                    <asp:ButtonColumn CommandName="Delete" Text="删除"></asp:ButtonColumn>
								</Columns>
							</asp:datagrid>
		                    </TD>
						</TR>
						<TR>
							<TD>
			                </TD>
						</TR>
						<TR>
							<TD class="ms-partline"><IMG alt="" src="../../Images/Default/blank.gif" width="1" height="1"></TD>
						</TR>
					</TABLE>
 
    </form>
</body>
</html>
